#include <iostream>

#include "Implement_bai6_05.h"

using namespace std;

Rectangle::Rectangle(){
	width = 0;
	height = 0;
}

Rectangle::Rectangle(float a, float b){
	width = a;
	height = b;
}

float Rectangle::perimeter(){
	return 2*(width + height);
}

float Rectangle::area(){
	return width*height;
}

void Rectangle::getData(){
	cout<<"enter width : "; cin>>width;
	cout<<"enter height : "; cin>>height;
}

void Rectangle::showData(){
	cout<<"width of Rectangle : "<<width<<endl;
	cout<<"height of Rectangle : "<<height<<endl;
}
